<template>
	<view>
		<van-nav-bar :z-index="9999" :fixed="true" :placeholder="true" :custom-style="`background-color:${bgColor}`"
			:title="title">

			<view slot="left" class="nav-left">
				<slot></slot>
			</view>
		</van-nav-bar>
	</view>
</template>

<script>
	export default {
		name: "ppl-navbar",
		props: {
			bgColor: {
				type: String,
				default: '#fff'
			},
			title: {
				type: String,
			}
		},
		data() {
			return {};
		}
	}
</script>

<style scoped>

</style>